package com.tobeface.sns.application;

import com.tobeface.sns.domain.User;

/**
 * 
 * @author loudyn
 * 
 */
public interface RegisterService {

	/**
	 * 
	 * @param user
	 */
	void register(User user);

	/**
	 * 
	 * @param user
	 * @param enterprise
	 */
	void mustNotRegister(User user);

	/**
	 * 
	 * @param username
	 * @return
	 */
	boolean isUserExistsByUsername(String username);

	
	/**
	 * 
	 * @param phone
	 * @return
	 */
	boolean isContactExistsByPhone(String phone);
	
	/**
	 * 
	 * @param email
	 * @return
	 */
	boolean isUserExistsByEmail(String email);

}
